<?php session_start();
validaAcesso();

echo "<h2>Cadastro de ".$_SESSION["menu"]["cad"][3]."</h2>";

require_once"funcoes/com_pais.jsp";

if(isset($_GET[grava])==1){    
    setPais(0,$_POST["pnome"]);
}
?>




<form method="POST" action="index.jsp?grava=1&cad=3" autocomplete="off">
<div class='item'><h5>Pa&iacute;s:</h5><input type="text" size="50" maxlength="50" name="pnome"> Ex: Brasil, It&aacute;lia</div>
<br>
<div class='item'><h5>&nbsp;</h5><input type="submit" value="cadastrar"></div>

</form>


<?php
getPais(0,"lista");
?>
